<script setup>
import bus from '../js/bus'
import { onBeforeUnmount } from 'vue'
bus.on('atob', str => {
  console.log('atob:', str)
})
onBeforeUnmount(() => {
  bus.off('atob')
})
</script>

<template>
  <div class="sonb-page">bbbbbbbbbbbb</div>
</template>

<style scoped>
.sonb-page {
  width: 300px;
  height: 300px;
  border: 5px solid #000;
}
</style>
